import Layout from '@/layout/default.vue'
import { HomeOutlined } from '@ant-design/icons-vue'

export default [
    {
        path: '/dashboard',
        name: 'Dashboard',
        redirect: '/dashboard/analysis',
        component: Layout,
        meta: {
            navTitle: '首页总览',
            order: 1,
            isSidebar: true,
            icon: () => h(HomeOutlined)
        },
        children: [
            {
                path: 'analysis',
                name: 'Analysis',
                meta: {
                    title: '总览',
                    order: 101
                },
                component: () => import('@/view/dashboard/analysis.vue')
            }
        ]

    }
]